package com.haifeng.myapplication;

import android.content.Context;

public class SDKClient3 {


    private static volatile SDKClient3 instance;
    private static Context contexts;

    public static void init(Context context) {
        contexts = context;
        System.out.println("SDKClient3  init. the context is " + context.getClass().getSimpleName());
    }

    public static SDKClient3 getInstance() {
        if (instance == null) {
            synchronized (SDKClient3.class) {
                instance = new SDKClient3();
            }
        }
        return instance;
    }


}
